<%@page language="Java" contentType="text/html; UTF-8"
pageEncoding="UTF-8"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
   pageEncoding="UTF-8"%>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="js/jQuery.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<script type="text/javascript" src="js/calendar.js"></script>
<h2>Dodaj zwierzaka:</h2><br>

<html:form action="adAnimal" enctype="multipart/form-data">
<table>
<tr>
<td><p>Płeć:</td><td> <select name="gender" id="gender"><option>Samiec</option><option>Samica</option></select></td>
</tr>
<tr>
<td><p>Rasa:</td> <td><input type="text" name="breed" id="breed"/></td>
</tr>
<tr>
<td><p>Imię:</td> <td><input type="text" name="name" id="name"/></td>
</tr>
<tr>
<td><p>Data Urodzenia:</td><td> <input type="text" name="birthDate" id="birthDate"/></td>
</tr>
<tr>
<td><p>Zdjęcie:</td><td><html:file property="file" size="50" /> </td>
</tr>
</table>

<input type="submit" class='submit' value="Dodaj"/>
<font color="red"><html:errors property="error" /></font>
</html:form>




